package cn.buk.tms.eotms.dao;

import cn.buk.tms.eotms.entity.TrainOrder;
import cn.buk.tms.eotms.entity.TrainRefundOrder;
import cn.buk.tms.eotms.sc.TrainOrderSearchCriteria;

import java.util.List;

public interface TrainOrderDao {

  List<TrainOrder> searchTrainOrders(int ownerId, int customerId, TrainOrderSearchCriteria sc);

  TrainOrder getTrainOrderById(int orderId);

  List<TrainRefundOrder> searchTrainRefundOrders(int ownerId, int customerId, TrainOrderSearchCriteria sc);

  TrainRefundOrder getTrainRefundOrderById(int orderId);
}
